const path = require("path")

const dirname = path.join(__dirname, '1.js')

const m1 = require(dirname)

// console.log(m1.dateFormat(new Date()))

const moment = require('moment')

const dt = moment().format('YYYY-MM-DD HH:mm:ss')
console.log(dt)